getGravity

open fun getGravity(): Int(source)

Deprecated

This method has no effect starting with Wear 2.0.

Get the gravity that this notification should have within the available viewport space. Supported values include TOP, CENTER_VERTICAL and BOTTOM. The default value is BOTTOM.